package cn.boyu.service;

import cn.boyu.entity.AssetsAmmeter;
import cn.boyu.query.AmmeterQuery;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yn
 * @since 2022-11-22
 */
public interface IAssetsAmmeterService extends IService<AssetsAmmeter> {

    IPage<AssetsAmmeter> queryPage(AmmeterQuery qo);

    void saveAssets(Long firstId, Long lastId, AssetsAmmeter assetsAmmeter);

    void batchDelete(Long[] ids);

    List<AssetsAmmeter> ammeterList(Long gatherId);

    List<AssetsAmmeter> mountAmmeterList(Long ammeterId);


//    void saveUpdate(AssetsAmmeter assetsAmmeter);

}
